PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFPath Class / addRoundRectangle Method
x position of rectangle's top left corner.
y position of rectangle's top left corner.
The rectangle width.
The rectangle height.
The width of the ellipse that defines the rectangle corners.
The height of the ellipse that defines the rectangle corners.
In This Topic
    addRoundRectangle Method
    In This Topic
    Adds a rounded rectangle to path.
    Syntax
    public void addRoundRectangle( 
       double left,
       double top,
       double width,
       double height,
       double ellipseWidth,
       double ellipseHeight
    )

    Parameters

    left
    x position of rectangle's top left corner.
    top
    y position of rectangle's top left corner.
    width
    The rectangle width.
    height
    The rectangle height.
    ellipseWidth
    The width of the ellipse that defines the rectangle corners.
    ellipseHeight
    The height of the ellipse that defines the rectangle corners.
    See Also